#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>


//int main()
//{
//	char ch = 'a';
//	char* p = &ch;
//	*p = 'w';
//	printf("%c", ch);
//	return 0;
//}



//int main()
//{
//	char* p = "abcdefg";
//	printf("%s", p);
//	return 0;
//}


//int main()
//{
//	char* p = "abcdefg";
//	printf("%c", p[3]);
//	return 0;
//}

//
//int main()
//{
//	const char* p = "abcdefg";
//	//*p = 'w';//err
//	printf("%s", p);
//	return 0;
//}



#include <stdio.h>
int main()
{
	char str1[] = "hello bit.";
	char str2[] = "hello bit.";
	const char* str3 = "hello bit.";
	const char* str4 = "hello bit.";
	if (str1 == str2)
		printf("str1 and str2 are same\n");
	else
		printf("str1 and str2 are not same\n");
	if (str3 == str4)
		printf("str3 and str4 are same\n");
	else
		printf("str3 and str4 are not same\n");
	return 0;
}









































































































































































